﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009A7 RID: 2471
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JHDCKDNIFID : IMessage<JHDCKDNIFID>, IMessage, IEquatable<JHDCKDNIFID>, IDeepCloneable<JHDCKDNIFID>, IBufferMessage
	{
		// Token: 0x17001F45 RID: 8005
		// (get) Token: 0x06006ECD RID: 28365 RVA: 0x00128E71 File Offset: 0x00127071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JHDCKDNIFID> Parser
		{
			get
			{
				return JHDCKDNIFID._parser;
			}
		}

		// Token: 0x17001F46 RID: 8006
		// (get) Token: 0x06006ECE RID: 28366 RVA: 0x00128E78 File Offset: 0x00127078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JHDCKDNIFIDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F47 RID: 8007
		// (get) Token: 0x06006ECF RID: 28367 RVA: 0x00128E8A File Offset: 0x0012708A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JHDCKDNIFID.Descriptor;
			}
		}

		// Token: 0x06006ED0 RID: 28368 RVA: 0x00128E91 File Offset: 0x00127091
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JHDCKDNIFID()
		{
		}

		// Token: 0x06006ED1 RID: 28369 RVA: 0x00128E9C File Offset: 0x0012709C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JHDCKDNIFID(JHDCKDNIFID other) : this()
		{
			this.mJKOAIHECNJ_ = other.mJKOAIHECNJ_;
			this.hKGAGGDOCFC_ = other.hKGAGGDOCFC_;
			this.hHDCNPFNCDG_ = other.hHDCNPFNCDG_;
			this.fOPCNDIBCPC_ = other.fOPCNDIBCPC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006ED2 RID: 28370 RVA: 0x00128EF0 File Offset: 0x001270F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JHDCKDNIFID Clone()
		{
			return new JHDCKDNIFID(this);
		}

		// Token: 0x17001F48 RID: 8008
		// (get) Token: 0x06006ED3 RID: 28371 RVA: 0x00128EF8 File Offset: 0x001270F8
		// (set) Token: 0x06006ED4 RID: 28372 RVA: 0x00128F00 File Offset: 0x00127100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MJKOAIHECNJ
		{
			get
			{
				return this.mJKOAIHECNJ_;
			}
			set
			{
				this.mJKOAIHECNJ_ = value;
			}
		}

		// Token: 0x17001F49 RID: 8009
		// (get) Token: 0x06006ED5 RID: 28373 RVA: 0x00128F09 File Offset: 0x00127109
		// (set) Token: 0x06006ED6 RID: 28374 RVA: 0x00128F11 File Offset: 0x00127111
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HKGAGGDOCFC
		{
			get
			{
				return this.hKGAGGDOCFC_;
			}
			set
			{
				this.hKGAGGDOCFC_ = value;
			}
		}

		// Token: 0x17001F4A RID: 8010
		// (get) Token: 0x06006ED7 RID: 28375 RVA: 0x00128F1A File Offset: 0x0012711A
		// (set) Token: 0x06006ED8 RID: 28376 RVA: 0x00128F22 File Offset: 0x00127122
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HHDCNPFNCDG
		{
			get
			{
				return this.hHDCNPFNCDG_;
			}
			set
			{
				this.hHDCNPFNCDG_ = value;
			}
		}

		// Token: 0x17001F4B RID: 8011
		// (get) Token: 0x06006ED9 RID: 28377 RVA: 0x00128F2B File Offset: 0x0012712B
		// (set) Token: 0x06006EDA RID: 28378 RVA: 0x00128F33 File Offset: 0x00127133
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FOPCNDIBCPC
		{
			get
			{
				return this.fOPCNDIBCPC_;
			}
			set
			{
				this.fOPCNDIBCPC_ = value;
			}
		}

		// Token: 0x06006EDB RID: 28379 RVA: 0x00128F3C File Offset: 0x0012713C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JHDCKDNIFID);
		}

		// Token: 0x06006EDC RID: 28380 RVA: 0x00128F4C File Offset: 0x0012714C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JHDCKDNIFID other)
		{
			return other != null && (other == this || (this.MJKOAIHECNJ == other.MJKOAIHECNJ && this.HKGAGGDOCFC == other.HKGAGGDOCFC && this.HHDCNPFNCDG == other.HHDCNPFNCDG && this.FOPCNDIBCPC == other.FOPCNDIBCPC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006EDD RID: 28381 RVA: 0x00128FB8 File Offset: 0x001271B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MJKOAIHECNJ != 0U)
			{
				num ^= this.MJKOAIHECNJ.GetHashCode();
			}
			if (this.HKGAGGDOCFC)
			{
				num ^= this.HKGAGGDOCFC.GetHashCode();
			}
			if (this.HHDCNPFNCDG != 0U)
			{
				num ^= this.HHDCNPFNCDG.GetHashCode();
			}
			if (this.FOPCNDIBCPC != 0U)
			{
				num ^= this.FOPCNDIBCPC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006EDE RID: 28382 RVA: 0x00129042 File Offset: 0x00127242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006EDF RID: 28383 RVA: 0x0012904A File Offset: 0x0012724A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006EE0 RID: 28384 RVA: 0x00129054 File Offset: 0x00127254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MJKOAIHECNJ != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MJKOAIHECNJ);
			}
			if (this.HHDCNPFNCDG != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.HHDCNPFNCDG);
			}
			if (this.FOPCNDIBCPC != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.FOPCNDIBCPC);
			}
			if (this.HKGAGGDOCFC)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.HKGAGGDOCFC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006EE1 RID: 28385 RVA: 0x001290E8 File Offset: 0x001272E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MJKOAIHECNJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MJKOAIHECNJ);
			}
			if (this.HKGAGGDOCFC)
			{
				num += 2;
			}
			if (this.HHDCNPFNCDG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HHDCNPFNCDG);
			}
			if (this.FOPCNDIBCPC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FOPCNDIBCPC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006EE2 RID: 28386 RVA: 0x00129164 File Offset: 0x00127364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JHDCKDNIFID other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MJKOAIHECNJ != 0U)
			{
				this.MJKOAIHECNJ = other.MJKOAIHECNJ;
			}
			if (other.HKGAGGDOCFC)
			{
				this.HKGAGGDOCFC = other.HKGAGGDOCFC;
			}
			if (other.HHDCNPFNCDG != 0U)
			{
				this.HHDCNPFNCDG = other.HHDCNPFNCDG;
			}
			if (other.FOPCNDIBCPC != 0U)
			{
				this.FOPCNDIBCPC = other.FOPCNDIBCPC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006EE3 RID: 28387 RVA: 0x001291DC File Offset: 0x001273DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006EE4 RID: 28388 RVA: 0x001291E8 File Offset: 0x001273E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 32U)
					{
						this.MJKOAIHECNJ = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.HHDCNPFNCDG = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.FOPCNDIBCPC = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.HKGAGGDOCFC = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002A45 RID: 10821
		private static readonly MessageParser<JHDCKDNIFID> _parser = new MessageParser<JHDCKDNIFID>(() => new JHDCKDNIFID());

		// Token: 0x04002A46 RID: 10822
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A47 RID: 10823
		public const int MJKOAIHECNJFieldNumber = 4;

		// Token: 0x04002A48 RID: 10824
		private uint mJKOAIHECNJ_;

		// Token: 0x04002A49 RID: 10825
		public const int HKGAGGDOCFCFieldNumber = 15;

		// Token: 0x04002A4A RID: 10826
		private bool hKGAGGDOCFC_;

		// Token: 0x04002A4B RID: 10827
		public const int HHDCNPFNCDGFieldNumber = 5;

		// Token: 0x04002A4C RID: 10828
		private uint hHDCNPFNCDG_;

		// Token: 0x04002A4D RID: 10829
		public const int FOPCNDIBCPCFieldNumber = 8;

		// Token: 0x04002A4E RID: 10830
		private uint fOPCNDIBCPC_;
	}
}
